﻿using Adnc.Application.Shared.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace WYT.Usr.Application.Contracts.Dtos.Health
{
    /// <summary>
    /// 健康报告
    /// </summary>
    public class HealthReportDto : IDto
    {
        /// <summary>
        /// 分数
        /// </summary>
        public int Points { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal BMI { get; set; }

        /// <summary>
        /// BMR
        /// </summary>
        public decimal BMR { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }
        
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }

        /// <summary>
        /// 风险
        /// </summary>
        public List<HealthRiskDto> Risks { get; set; }
    }

    /// <summary>
    /// 风险结果
    /// </summary>
    public class HealthRiskDto
    {
        /// <summary>
        /// 风险ID
        /// </summary>
        public long Id { get; set; }
        
        /// <summary>
        /// 风险百分比
        /// </summary>
        public int Percentage { get; set; }

        /// <summary>
        /// 风险类型
        /// 1：肠胃
        /// 2：代谢
        /// 3：心血
        /// 4：肝肾
        /// 5：免疫
        /// 6：四高
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string Ico { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Describe { get; set; }

        /// <summary>
        /// 一般症状
        /// </summary>
        public string Symptom { get; set; }

        /// <summary>
        /// 风险提示
        /// </summary>
        public string Riskhint { get; set; }

        /// <summary>
        /// 影响因素
        /// </summary>
        public string Influencing { get; set; }

        /// <summary>
        /// 营养建议
        /// </summary>
        public string JYYY { get; set; }

        /// <summary>
        /// 食养建议
        /// </summary>
        public string JYSY { get; set; }
    }
}
